﻿<Window x:Class="TouchExplorer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:TouchExplorer="clr-namespace:TouchExplorer"                 
        xmlns:touch="clr-namespace:TouchControls;assembly=TouchControls"
        xmlns:Controls="clr-namespace:TouchExplorer.Controls" xmlns:Views="clr-namespace:TouchExplorer.Views"
        Title="Touch Explorer"
        WindowState="Maximized"        
        WindowStyle="None"        
        FontFamily="Segoe WP SemiLight">
    <touch:AdornmentGrid x:Name="LayoutRoot">
        <touch:AdornmentGrid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#250931" Offset="0"/>
                <GradientStop Color="#250931" Offset="1"/>
                <GradientStop Color="#4E034E" Offset="0.47"/>
                <GradientStop Color="#520151" Offset="0.641"/>
            </LinearGradientBrush>
        </touch:AdornmentGrid.Background>
        <touch:AdornmentGrid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </touch:AdornmentGrid.RowDefinitions>
        <Grid Margin="16 8 16 8" x:Name="MainContent">            
            <touch:TouchPivot x:Name="Pivot" TitleSize="40" HeaderHeight="55">    
                <touch:TouchPivot.HeaderPlaceholder>
                    <StackPanel Orientation="Horizontal">
                        <Button x:Name="BtnFlip" Style="{StaticResource BtnWindows}" Click="StartFlip" Margin="0 0 8 0"/>
                        <Button x:Name="BtnCloseApp" Style="{StaticResource BtnShutdown}" Click="CloseApp"/>
                    </StackPanel>
                </touch:TouchPivot.HeaderPlaceholder>
                <touch:PivotItem x:Name="WelcomeItem"  Title="Welcome">
                    <Views:Welcome />
                </touch:PivotItem>
                <touch:PivotItem x:Name="BrowseFilesItem"  Title="Browse files">
                    <Views:FileBrowser x:Name="FileBrowserCtrl" />
                </touch:PivotItem>
                <touch:PivotItem x:Name="Programs" Title="Programs">
                    <Views:FileBrowser x:Name="ProgramsBrowserCtrl" />
                </touch:PivotItem>
                <!--<touch:PivotItem Title="Applications">
                    <Views:ApplicationsBrowser />
                </touch:PivotItem>-->
            </touch:TouchPivot>
        </Grid>
        <Controls:ClipboardFooter x:Name="Footer" Height="36" touch:AdornmentGrid.Row="1" />
    </touch:AdornmentGrid>
</Window>
